<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <base href="${ctx}/">
    <title>新增学生</title>
    <link rel="stylesheet" href="assets/modules/classes/css/add.css">
    <link rel="stylesheet" href="assets/lib/layui/css/layui.css">


    <script src="assets/lib/jquery/jquery-3.7.1.min.js"></script>
    <script src="assets/lib/layui/layui.js"></script>

    <script>
        const ctx = "${ctx}";
    </script>

    <script src="assets/modules/classes/js/add.js"></script>
</head>
<body>
<div>
    <form id="student-form" action="">
        <div>
            <label for="class_name">班级名称：</label>
            <input type="text" id="class_name" name="class_name" autocomplete="off" placeholder="请输入班级名称">
        </div>
<%--        <div>--%>
<%--            <label for="begin_time">开始时间：</label>--%>
<%--            <input type="text" id="begin_time" name="begin_time" autocomplete="off" placeholder="请输入开始时间">--%>
<%--        </div>--%>
<%--        <div>--%>
<%--            <label for="end_time">结束时间：</label>--%>
<%--            <input type="text" id="end_time" name="end_time" autocomplete="off" placeholder="请输入结束时间">--%>
<%--        </div>--%>
        <div class="layui-form-item">
            <label>开始结束日期：</label>
            <div class="layui-inline" id="birth-range">
                <div class="layui-input-inline">
                    <input type="text" autocomplete="off" id="begin_time" class="layui-input"
                           placeholder="开始日期">
                </div>
                <div class="layui-form-mid">~</div>
                <div class="layui-input-inline">
                    <input type="text" autocomplete="off" id="end_time" class="layui-input"
                           placeholder="结束日期">
                </div>
            </div>
        </div>
        <div>
            <label for="major_id">专业编号：</label>
            <input type="text" id="major_id" name="major_id" autocomplete="off"
                   placeholder="请输入专业编号">
        </div>
        <div>
            <label for="student_cnt">学生人数：</label>
            <input type="text" id="student_cnt" name="student_cnt" autocomplete="off" placeholder="请输入班级人数">
        </div>
        <div>
            <label for="status">状态：</label>

            <input type="radio" id="status" name="status" checked value="1">
            <label for="status">1：正常</label>

            <input type="radio" id="statuss" name="status" value="2">
            <label for="statuss">2:停用</label>
        </div>
        <div>
            <label for="description">备注：</label>
            <input type="text" id="description" name="description" autocomplete="off" placeholder="请输入备注">
        </div>
    </form>
</div>
</body>
</html>
